package com.atguigu.spzx.user.service;

import com.atguigu.spzx.model.dto.api.ApiUserLoginDTO;
import com.atguigu.spzx.model.dto.api.ApiUserRegisterDTO;
import com.atguigu.spzx.model.entity.user.UserInfo;
import com.atguigu.spzx.model.vo.user.UserInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author LT
 * @create 2024-03-27-16:35
 */
public interface UserInfoService extends IService<UserInfo> {
    void register(ApiUserRegisterDTO userRegisterDTO);

    String login(ApiUserLoginDTO userLoginDTO);

    void updateLoginInfo(UserInfo userInfo);

    UserInfoVo getCurrentUserInfo(String token);

    void logout(String token);

}
